#include "Operator.h"
#include "Constanta.h"
#include "Necunoscuta.h"
#include "Plus.h"
#include "nod.h"
#include "Expresie.h"
#include <stack>
int main()
{
/*

    Plus x;
    Constanta a(10),b(21);
    x.fDrept=&a;
    x.fStang=&b;
    std::cout<<x.calcul();*/
    std::string s;
    std::cout<<"Introduceti expresia:";
    std::cin>>s;
    Functie f1(s);    
    
    std::cout<<f1.calcul();
}